package com.linko.intelligent.sys.pojo.po;


import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class Notice {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", position = 0)
    @TableId
    private Long id;

    private Long del;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", position = 2)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", position = 3)
    private Long userId;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容", position = 4)
    private String content;

    /**
     * 标识
     */
    @ApiModelProperty(value = "标识", position = 5)
    private String falg;

    /**
     * 关联的数据id
     */
    @ApiModelProperty(value = "关联的数据id", position = 6)
    private Long flagId;

    /**
     * 0未读 1已读
     */
    @ApiModelProperty(value = "0未读 1已读", position = 7)
    private Long status;

    /**
     * 阅读时间
     */
    @ApiModelProperty(value = "阅读时间", position = 8)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date readTime;


}
